import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
// 引入vant组件
import vant from 'vant'
import 'vant/lib/index.css';
//  px to rem
import 'amfe-flexible'
// i18n
import i18n from '@/plugin/lang/i18n'
// pinia 菠萝
import store from './store'
//快捷功能
import { uu } from '@/utils/quick'
// 请求
import post from '@/utils/request/index'
// metaMask
import metaMask from '@/utils/web3/matemask'


const app = createApp(App)
//全局挂载
app.config.globalProperties.$quick = uu
app.config.globalProperties.$metaMask = metaMask



app.use(store).use(vant).use(router).use(i18n).use(post).mount('#app')
